package BookManage.Operation;

import BookManage.Book;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 强仔
 * Date: 2022-01-19
 * Time: 10:26
 */
public class FindOperation implements IOperation {
    @Override
    public void work() {
        List<Book> list = bookDao.findBooks();
        for (Book book : list) {
            System.out.println(book);
        }
    }
}
